package org.springblade.tms.global.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springblade.common.enums.Enumerator;

/**
 * @projectName: BladeX
 * @package: org.springblade.tms.global.enums
 * @className: eventCodeEnum
 * @author: yr
 * @description: sap运单事件枚举
 * @date: 2022/3/28 11:01
 */
@AllArgsConstructor
@Getter
public enum EventCodeEnum implements Enumerator {
	CANCELLED("10", "已取消"),
	ARRIVE_AT_THE_PICK_UP_POINT("20", "到达提货点"),
	START_LOADING("30", "开始装货"),
	LOADED("40", "已装货"),
	SHIPPED("50", "已启运"),
	DELIVERED("60", "已运达"),
	START_UNLOADING("70", "开始卸货"),
	UNLOADED("80", "已卸货"),
	FACTORY("90", "已出厂"),
	COMPLETED("100", "已完成(签收)"),
	ExceptionReport("110", "异常汇报");


	private final String value;
	private final String description;

	@Override
	public String value() {
		return value;
	}

	@Override
	public String description() {
		return description;
	}
}
